<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qwt User&#39;s Guide: qwt_interval_symbol.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qwt User&#39;s Guide
   &#160;<span id="projectnumber">6.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('qwt__interval__symbol_8cpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">qwt_interval_symbol.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/******************************************************************************</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Qwt Widget Library</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright (C) 1997   Josef Wilgen</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Copyright (C) 2002   Uwe Rathmann</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * This library is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * modify it under the terms of the Qwt License, Version 1.0</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *****************************************************************************/</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;qwt_interval_symbol.h&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;qwt_painter.h&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;qwt_math.h&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &lt;qpainter.h&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &lt;qmath.h&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160; </div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="keyword">class </span>QwtIntervalSymbol::PrivateData</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;{</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;    PrivateData()</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;        : <a class="code" href="class_qwt_interval_symbol.html#a942ebebe5b03daf644f8d382ebb2bc47">style</a>( <a class="code" href="class_qwt_interval_symbol.html">QwtIntervalSymbol</a>::<a class="code" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77ea48e0d047b9988e77067a11f784556019">NoSymbol</a> )</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;        , <a class="code" href="class_qwt_interval_symbol.html#a0c44abb2a0eecfee5364f5da23a479d2">width</a>( 6 )</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    {</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    }</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_qwt_interval_symbol.html#a77e4bea6375935ceeea9da85140b7810">operator==</a>( <span class="keyword">const</span> PrivateData&amp; other )<span class="keyword"> const</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keyword">    </span>{</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;        <span class="keywordflow">return</span> ( <a class="code" href="class_qwt_interval_symbol.html#a942ebebe5b03daf644f8d382ebb2bc47">style</a> == other.style )</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;               &amp;&amp; ( <a class="code" href="class_qwt_interval_symbol.html#a0c44abb2a0eecfee5364f5da23a479d2">width</a> == other.width )</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;               &amp;&amp; ( <a class="code" href="class_qwt_interval_symbol.html#abef796f1049dc0dae379076eb2ca96e2">brush</a> == other.brush )</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;               &amp;&amp; ( <a class="code" href="class_qwt_interval_symbol.html#a3e50ba91b4367d2525319e2c93ec3b09">pen</a> == other.pen );</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    }</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    <a class="code" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">QwtIntervalSymbol::Style</a> <a class="code" href="class_qwt_interval_symbol.html#a942ebebe5b03daf644f8d382ebb2bc47">style</a>;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_qwt_interval_symbol.html#a0c44abb2a0eecfee5364f5da23a479d2">width</a>;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    QPen <a class="code" href="class_qwt_interval_symbol.html#a3e50ba91b4367d2525319e2c93ec3b09">pen</a>;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    QBrush <a class="code" href="class_qwt_interval_symbol.html#abef796f1049dc0dae379076eb2ca96e2">brush</a>;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;};</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="class_qwt_interval_symbol.html#a40c03c5b54dc3c4a69cf1dc88bf25893">   47</a></span>&#160;<a class="code" href="class_qwt_interval_symbol.html#a40c03c5b54dc3c4a69cf1dc88bf25893">QwtIntervalSymbol::QwtIntervalSymbol</a>( <a class="code" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">Style</a> style )</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;{</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    m_data = <span class="keyword">new</span> PrivateData();</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    m_data-&gt;style = <a class="code" href="class_qwt_interval_symbol.html#a942ebebe5b03daf644f8d382ebb2bc47">style</a>;</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;}</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="class_qwt_interval_symbol.html#a7a4ddf7e61445833f39105614ebd77c1">   54</a></span>&#160;<a class="code" href="class_qwt_interval_symbol.html#a40c03c5b54dc3c4a69cf1dc88bf25893">QwtIntervalSymbol::QwtIntervalSymbol</a>( <span class="keyword">const</span> <a class="code" href="class_qwt_interval_symbol.html">QwtIntervalSymbol</a>&amp; other )</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;{</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    m_data = <span class="keyword">new</span> PrivateData();</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    *m_data = *other.m_data;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;}</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160; </div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="class_qwt_interval_symbol.html#ac983feda2d6417a24e430aa0cd0548b9">   61</a></span>&#160;<a class="code" href="class_qwt_interval_symbol.html#ac983feda2d6417a24e430aa0cd0548b9">QwtIntervalSymbol::~QwtIntervalSymbol</a>()</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;{</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <span class="keyword">delete</span> m_data;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;}</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="class_qwt_interval_symbol.html#a49558f59372b7e69143f1ff49c5bfad8">   67</a></span>&#160;<a class="code" href="class_qwt_interval_symbol.html">QwtIntervalSymbol</a>&amp; <a class="code" href="class_qwt_interval_symbol.html#a49558f59372b7e69143f1ff49c5bfad8">QwtIntervalSymbol::operator=</a>(</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_interval_symbol.html">QwtIntervalSymbol</a>&amp; other )</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;{</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    *m_data = *other.m_data;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;}</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="class_qwt_interval_symbol.html#a77e4bea6375935ceeea9da85140b7810">   75</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_qwt_interval_symbol.html#a77e4bea6375935ceeea9da85140b7810">QwtIntervalSymbol::operator==</a>(</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_interval_symbol.html">QwtIntervalSymbol</a>&amp; other )<span class="keyword"> const</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="keywordflow">return</span> *m_data == *other.m_data;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;}</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="class_qwt_interval_symbol.html#aa6e97423d8053b42695d40ff9572a307">   82</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_qwt_interval_symbol.html#aa6e97423d8053b42695d40ff9572a307">QwtIntervalSymbol::operator!=</a>(</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <span class="keyword">const</span> <a class="code" href="class_qwt_interval_symbol.html">QwtIntervalSymbol</a>&amp; other )<span class="keyword"> const</span></div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <span class="keywordflow">return</span> !( *m_data == *other.m_data );</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;}</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="class_qwt_interval_symbol.html#a24d64169355cc200a49af15c08fe93fc">   94</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_interval_symbol.html#a24d64169355cc200a49af15c08fe93fc">QwtIntervalSymbol::setStyle</a>( <a class="code" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">Style</a> style )</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;{</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    m_data-&gt;style = <a class="code" href="class_qwt_interval_symbol.html#a942ebebe5b03daf644f8d382ebb2bc47">style</a>;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;}</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160; </div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="class_qwt_interval_symbol.html#a942ebebe5b03daf644f8d382ebb2bc47">  103</a></span>&#160;<a class="code" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">QwtIntervalSymbol::Style</a> <a class="code" href="class_qwt_interval_symbol.html#a942ebebe5b03daf644f8d382ebb2bc47">QwtIntervalSymbol::style</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;style;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;}</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="class_qwt_interval_symbol.html#adfacdeb67c9e6d194df4d3d627de23eb">  115</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_interval_symbol.html#adfacdeb67c9e6d194df4d3d627de23eb">QwtIntervalSymbol::setWidth</a>( <span class="keywordtype">int</span> width )</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;{</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    m_data-&gt;width = <a class="code" href="class_qwt_interval_symbol.html#a0c44abb2a0eecfee5364f5da23a479d2">width</a>;</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;}</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160; </div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="class_qwt_interval_symbol.html#a0c44abb2a0eecfee5364f5da23a479d2">  124</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="class_qwt_interval_symbol.html#a0c44abb2a0eecfee5364f5da23a479d2">QwtIntervalSymbol::width</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;width;</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;}</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160; </div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="class_qwt_interval_symbol.html#a37b432508493d77342cf75f5baea7533">  137</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_interval_symbol.html#a37b432508493d77342cf75f5baea7533">QwtIntervalSymbol::setBrush</a>( <span class="keyword">const</span> QBrush&amp; brush )</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;{</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    m_data-&gt;brush = <a class="code" href="class_qwt_interval_symbol.html#abef796f1049dc0dae379076eb2ca96e2">brush</a>;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;}</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160; </div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="class_qwt_interval_symbol.html#abef796f1049dc0dae379076eb2ca96e2">  146</a></span>&#160;<span class="keyword">const</span> QBrush&amp; <a class="code" href="class_qwt_interval_symbol.html#abef796f1049dc0dae379076eb2ca96e2">QwtIntervalSymbol::brush</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;brush;</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;}</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160; </div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="class_qwt_interval_symbol.html#a9c3bbee5ea764f246e66bd7bc9382b79">  164</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_interval_symbol.html#a9c3bbee5ea764f246e66bd7bc9382b79">QwtIntervalSymbol::setPen</a>( <span class="keyword">const</span> QColor&amp; color,</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    qreal width, Qt::PenStyle style )</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;{</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;    <a class="code" href="class_qwt_interval_symbol.html#a9c3bbee5ea764f246e66bd7bc9382b79">setPen</a>( QPen( color, <a class="code" href="class_qwt_interval_symbol.html#a0c44abb2a0eecfee5364f5da23a479d2">width</a>, <a class="code" href="class_qwt_interval_symbol.html#a942ebebe5b03daf644f8d382ebb2bc47">style</a> ) );</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;}</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160; </div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="class_qwt_interval_symbol.html#af40ddcffa51daf70c9f44f18b33a9ee2">  176</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_interval_symbol.html#a9c3bbee5ea764f246e66bd7bc9382b79">QwtIntervalSymbol::setPen</a>( <span class="keyword">const</span> QPen&amp; pen )</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;{</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    m_data-&gt;pen = <a class="code" href="class_qwt_interval_symbol.html#a3e50ba91b4367d2525319e2c93ec3b09">pen</a>;</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;}</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160; </div>
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="class_qwt_interval_symbol.html#a3e50ba91b4367d2525319e2c93ec3b09">  185</a></span>&#160;<span class="keyword">const</span> QPen&amp; <a class="code" href="class_qwt_interval_symbol.html#a3e50ba91b4367d2525319e2c93ec3b09">QwtIntervalSymbol::pen</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;pen;</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;}</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160; </div>
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="class_qwt_interval_symbol.html#a2dde342fee1c1f6051c39620f3bf8930">  200</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_interval_symbol.html#a2dde342fee1c1f6051c39620f3bf8930">QwtIntervalSymbol::draw</a>( QPainter* painter, Qt::Orientation orientation,</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    <span class="keyword">const</span> QPointF&amp; from, <span class="keyword">const</span> QPointF&amp; to )<span class="keyword"> const</span></div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    <span class="keyword">const</span> qreal pw = <a class="code" href="class_qwt_painter.html#a9861338f5900c731fa66423aa6f29b88">QwtPainter::effectivePenWidth</a>( painter-&gt;pen() );</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160; </div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;    QPointF p1 = from;</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;    QPointF p2 = to;</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_painter.html#ae9af230df7bb8d40b802d4f3205a8631">QwtPainter::roundingAlignment</a>( painter ) )</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;    {</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        p1 = p1.toPoint();</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;        p2 = p2.toPoint();</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;    }</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160; </div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;    <span class="keywordflow">switch</span> ( m_data-&gt;style )</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;    {</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77ea1e4120af73e888e2edf05798d906e934">QwtIntervalSymbol::Bar</a>:</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;        {</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;            <a class="code" href="class_qwt_painter.html#af7da8f2bd3bda731e76b564ba44ea6e7">QwtPainter::drawLine</a>( painter, p1, p2 );</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;            <span class="keywordflow">if</span> ( m_data-&gt;width &gt; pw )</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;            {</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;                <span class="keywordflow">if</span> ( ( orientation == Qt::Horizontal )</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;                    &amp;&amp; ( p1.y() == p2.y() ) )</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;                {</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">double</span> sw = m_data-&gt;width;</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160; </div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">double</span> y = p1.y() - sw / 2;</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;                    <a class="code" href="class_qwt_painter.html#af7da8f2bd3bda731e76b564ba44ea6e7">QwtPainter::drawLine</a>( painter,</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;                        p1.x(), y, p1.x(), y + sw );</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;                    <a class="code" href="class_qwt_painter.html#af7da8f2bd3bda731e76b564ba44ea6e7">QwtPainter::drawLine</a>( painter,</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;                        p2.x(), y, p2.x(), y + sw );</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;                }</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;                <span class="keywordflow">else</span> <span class="keywordflow">if</span> ( ( orientation == Qt::Vertical )</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;                    &amp;&amp; ( p1.x() == p2.x() ) )</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;                {</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">double</span> sw = m_data-&gt;width;</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160; </div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">double</span> x = p1.x() - sw / 2;</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;                    <a class="code" href="class_qwt_painter.html#af7da8f2bd3bda731e76b564ba44ea6e7">QwtPainter::drawLine</a>( painter,</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;                        x, p1.y(), x + sw, p1.y() );</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;                    <a class="code" href="class_qwt_painter.html#af7da8f2bd3bda731e76b564ba44ea6e7">QwtPainter::drawLine</a>( painter,</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;                        x, p2.y(), x + sw, p2.y() );</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;                }</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;                <span class="keywordflow">else</span></div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;                {</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">double</span> sw = m_data-&gt;width;</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160; </div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">double</span> dx = p2.x() - p1.x();</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">double</span> dy = p2.y() - p1.y();</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">double</span> angle = std::atan2( dy, dx ) + M_PI_2;</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;                    <span class="keywordtype">double</span> dw2 = sw / 2.0;</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160; </div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">double</span> cx = qFastCos( angle ) * dw2;</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">double</span> sy = qFastSin( angle ) * dw2;</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160; </div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;                    <a class="code" href="class_qwt_painter.html#af7da8f2bd3bda731e76b564ba44ea6e7">QwtPainter::drawLine</a>( painter,</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;                        p1.x() - cx, p1.y() - sy,</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;                        p1.x() + cx, p1.y() + sy );</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;                    <a class="code" href="class_qwt_painter.html#af7da8f2bd3bda731e76b564ba44ea6e7">QwtPainter::drawLine</a>( painter,</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;                        p2.x() - cx, p2.y() - sy,</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;                        p2.x() + cx, p2.y() + sy );</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;                }</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;            }</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;        }</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77eaf4f31197926c38dcc0377bb75ed5e6e1">QwtIntervalSymbol::Box</a>:</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;        {</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;            <span class="keywordflow">if</span> ( m_data-&gt;width &lt;= pw )</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;            {</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;                <a class="code" href="class_qwt_painter.html#af7da8f2bd3bda731e76b564ba44ea6e7">QwtPainter::drawLine</a>( painter, p1, p2 );</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;            }</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;            {</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;                <span class="keywordflow">if</span> ( ( orientation == Qt::Horizontal )</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;                    &amp;&amp; ( p1.y() == p2.y() ) )</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;                {</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">double</span> sw = m_data-&gt;width;</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160; </div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">double</span> y = p1.y() - m_data-&gt;width / 2;</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;                    <a class="code" href="class_qwt_painter.html#ab77bb84f93f6b422b0b9c106a3991fdc">QwtPainter::drawRect</a>( painter,</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;                        p1.x(), y, p2.x() - p1.x(),  sw );</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;                }</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;                <span class="keywordflow">else</span> <span class="keywordflow">if</span> ( ( orientation == Qt::Vertical )</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;                    &amp;&amp; ( p1.x() == p2.x() ) )</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;                {</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">double</span> sw = m_data-&gt;width;</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160; </div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">double</span> x = p1.x() - m_data-&gt;width / 2;</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;                    <a class="code" href="class_qwt_painter.html#ab77bb84f93f6b422b0b9c106a3991fdc">QwtPainter::drawRect</a>( painter,</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;                        x, p1.y(), sw, p2.y() - p1.y() );</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;                }</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;                <span class="keywordflow">else</span></div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;                {</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">double</span> sw = m_data-&gt;width;</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160; </div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">double</span> dx = p2.x() - p1.x();</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">double</span> dy = p2.y() - p1.y();</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">double</span> angle = std::atan2( dy, dx ) + M_PI_2;</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;                    <span class="keywordtype">double</span> dw2 = sw / 2.0;</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160; </div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">double</span> cx = qFastCos( angle ) * dw2;</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;                    <span class="keyword">const</span> <span class="keywordtype">double</span> sy = qFastSin( angle ) * dw2;</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160; </div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;                    QPolygonF polygon;</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;                    polygon += QPointF( p1.x() - cx, p1.y() - sy );</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;                    polygon += QPointF( p1.x() + cx, p1.y() + sy );</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;                    polygon += QPointF( p2.x() + cx, p2.y() + sy );</div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;                    polygon += QPointF( p2.x() - cx, p2.y() - sy );</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160; </div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;                    <a class="code" href="class_qwt_painter.html#a2fff1088059c230864ac1eff90d8e975">QwtPainter::drawPolygon</a>( painter, polygon );</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;                }</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;            }</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;        }</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;        <span class="keywordflow">default</span>:;</div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;    }</div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;}</div>
<div class="ttc" id="aclass_qwt_interval_symbol_html"><div class="ttname"><a href="class_qwt_interval_symbol.html">QwtIntervalSymbol</a></div><div class="ttdoc">A drawing primitive for displaying an interval like an error bar.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval__symbol_8h_source.html#l00027">qwt_interval_symbol.h:28</a></div></div>
<div class="ttc" id="aclass_qwt_interval_symbol_html_a0c44abb2a0eecfee5364f5da23a479d2"><div class="ttname"><a href="class_qwt_interval_symbol.html#a0c44abb2a0eecfee5364f5da23a479d2">QwtIntervalSymbol::width</a></div><div class="ttdeci">int width() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval__symbol_8cpp_source.html#l00124">qwt_interval_symbol.cpp:124</a></div></div>
<div class="ttc" id="aclass_qwt_interval_symbol_html_a24d64169355cc200a49af15c08fe93fc"><div class="ttname"><a href="class_qwt_interval_symbol.html#a24d64169355cc200a49af15c08fe93fc">QwtIntervalSymbol::setStyle</a></div><div class="ttdeci">void setStyle(Style)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval__symbol_8cpp_source.html#l00094">qwt_interval_symbol.cpp:94</a></div></div>
<div class="ttc" id="aclass_qwt_interval_symbol_html_a2dde342fee1c1f6051c39620f3bf8930"><div class="ttname"><a href="class_qwt_interval_symbol.html#a2dde342fee1c1f6051c39620f3bf8930">QwtIntervalSymbol::draw</a></div><div class="ttdeci">virtual void draw(QPainter *, Qt::Orientation, const QPointF &amp;from, const QPointF &amp;to) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval__symbol_8cpp_source.html#l00200">qwt_interval_symbol.cpp:200</a></div></div>
<div class="ttc" id="aclass_qwt_interval_symbol_html_a37b432508493d77342cf75f5baea7533"><div class="ttname"><a href="class_qwt_interval_symbol.html#a37b432508493d77342cf75f5baea7533">QwtIntervalSymbol::setBrush</a></div><div class="ttdeci">void setBrush(const QBrush &amp;)</div><div class="ttdoc">Assign a brush.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval__symbol_8cpp_source.html#l00137">qwt_interval_symbol.cpp:137</a></div></div>
<div class="ttc" id="aclass_qwt_interval_symbol_html_a3e50ba91b4367d2525319e2c93ec3b09"><div class="ttname"><a href="class_qwt_interval_symbol.html#a3e50ba91b4367d2525319e2c93ec3b09">QwtIntervalSymbol::pen</a></div><div class="ttdeci">const QPen &amp; pen() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval__symbol_8cpp_source.html#l00185">qwt_interval_symbol.cpp:185</a></div></div>
<div class="ttc" id="aclass_qwt_interval_symbol_html_a40c03c5b54dc3c4a69cf1dc88bf25893"><div class="ttname"><a href="class_qwt_interval_symbol.html#a40c03c5b54dc3c4a69cf1dc88bf25893">QwtIntervalSymbol::QwtIntervalSymbol</a></div><div class="ttdeci">QwtIntervalSymbol(Style=NoSymbol)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval__symbol_8cpp_source.html#l00047">qwt_interval_symbol.cpp:47</a></div></div>
<div class="ttc" id="aclass_qwt_interval_symbol_html_a49558f59372b7e69143f1ff49c5bfad8"><div class="ttname"><a href="class_qwt_interval_symbol.html#a49558f59372b7e69143f1ff49c5bfad8">QwtIntervalSymbol::operator=</a></div><div class="ttdeci">QwtIntervalSymbol &amp; operator=(const QwtIntervalSymbol &amp;)</div><div class="ttdoc">Assignment operator.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval__symbol_8cpp_source.html#l00067">qwt_interval_symbol.cpp:67</a></div></div>
<div class="ttc" id="aclass_qwt_interval_symbol_html_a77e4bea6375935ceeea9da85140b7810"><div class="ttname"><a href="class_qwt_interval_symbol.html#a77e4bea6375935ceeea9da85140b7810">QwtIntervalSymbol::operator==</a></div><div class="ttdeci">bool operator==(const QwtIntervalSymbol &amp;) const</div><div class="ttdoc">Compare two symbols.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval__symbol_8cpp_source.html#l00075">qwt_interval_symbol.cpp:75</a></div></div>
<div class="ttc" id="aclass_qwt_interval_symbol_html_a8fe960fd50b3ad08765ef8bb632ad77e"><div class="ttname"><a href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">QwtIntervalSymbol::Style</a></div><div class="ttdeci">Style</div><div class="ttdoc">Symbol style.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval__symbol_8h_source.html#l00031">qwt_interval_symbol.h:32</a></div></div>
<div class="ttc" id="aclass_qwt_interval_symbol_html_a8fe960fd50b3ad08765ef8bb632ad77ea1e4120af73e888e2edf05798d906e934"><div class="ttname"><a href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77ea1e4120af73e888e2edf05798d906e934">QwtIntervalSymbol::Bar</a></div><div class="ttdeci">@ Bar</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval__symbol_8h_source.html#l00040">qwt_interval_symbol.h:40</a></div></div>
<div class="ttc" id="aclass_qwt_interval_symbol_html_a8fe960fd50b3ad08765ef8bb632ad77ea48e0d047b9988e77067a11f784556019"><div class="ttname"><a href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77ea48e0d047b9988e77067a11f784556019">QwtIntervalSymbol::NoSymbol</a></div><div class="ttdeci">@ NoSymbol</div><div class="ttdoc">No Style. The symbol cannot be drawn.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval__symbol_8h_source.html#l00034">qwt_interval_symbol.h:34</a></div></div>
<div class="ttc" id="aclass_qwt_interval_symbol_html_a8fe960fd50b3ad08765ef8bb632ad77eaf4f31197926c38dcc0377bb75ed5e6e1"><div class="ttname"><a href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77eaf4f31197926c38dcc0377bb75ed5e6e1">QwtIntervalSymbol::Box</a></div><div class="ttdeci">@ Box</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval__symbol_8h_source.html#l00047">qwt_interval_symbol.h:47</a></div></div>
<div class="ttc" id="aclass_qwt_interval_symbol_html_a942ebebe5b03daf644f8d382ebb2bc47"><div class="ttname"><a href="class_qwt_interval_symbol.html#a942ebebe5b03daf644f8d382ebb2bc47">QwtIntervalSymbol::style</a></div><div class="ttdeci">Style style() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval__symbol_8cpp_source.html#l00103">qwt_interval_symbol.cpp:103</a></div></div>
<div class="ttc" id="aclass_qwt_interval_symbol_html_a9c3bbee5ea764f246e66bd7bc9382b79"><div class="ttname"><a href="class_qwt_interval_symbol.html#a9c3bbee5ea764f246e66bd7bc9382b79">QwtIntervalSymbol::setPen</a></div><div class="ttdeci">void setPen(const QColor &amp;, qreal width=0.0, Qt::PenStyle=Qt::SolidLine)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval__symbol_8cpp_source.html#l00164">qwt_interval_symbol.cpp:164</a></div></div>
<div class="ttc" id="aclass_qwt_interval_symbol_html_aa6e97423d8053b42695d40ff9572a307"><div class="ttname"><a href="class_qwt_interval_symbol.html#aa6e97423d8053b42695d40ff9572a307">QwtIntervalSymbol::operator!=</a></div><div class="ttdeci">bool operator!=(const QwtIntervalSymbol &amp;) const</div><div class="ttdoc">Compare two symbols.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval__symbol_8cpp_source.html#l00082">qwt_interval_symbol.cpp:82</a></div></div>
<div class="ttc" id="aclass_qwt_interval_symbol_html_abef796f1049dc0dae379076eb2ca96e2"><div class="ttname"><a href="class_qwt_interval_symbol.html#abef796f1049dc0dae379076eb2ca96e2">QwtIntervalSymbol::brush</a></div><div class="ttdeci">const QBrush &amp; brush() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval__symbol_8cpp_source.html#l00146">qwt_interval_symbol.cpp:146</a></div></div>
<div class="ttc" id="aclass_qwt_interval_symbol_html_ac983feda2d6417a24e430aa0cd0548b9"><div class="ttname"><a href="class_qwt_interval_symbol.html#ac983feda2d6417a24e430aa0cd0548b9">QwtIntervalSymbol::~QwtIntervalSymbol</a></div><div class="ttdeci">virtual ~QwtIntervalSymbol()</div><div class="ttdoc">Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval__symbol_8cpp_source.html#l00061">qwt_interval_symbol.cpp:61</a></div></div>
<div class="ttc" id="aclass_qwt_interval_symbol_html_adfacdeb67c9e6d194df4d3d627de23eb"><div class="ttname"><a href="class_qwt_interval_symbol.html#adfacdeb67c9e6d194df4d3d627de23eb">QwtIntervalSymbol::setWidth</a></div><div class="ttdeci">void setWidth(int)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__interval__symbol_8cpp_source.html#l00115">qwt_interval_symbol.cpp:115</a></div></div>
<div class="ttc" id="aclass_qwt_painter_html_a2fff1088059c230864ac1eff90d8e975"><div class="ttname"><a href="class_qwt_painter.html#a2fff1088059c230864ac1eff90d8e975">QwtPainter::drawPolygon</a></div><div class="ttdeci">static void drawPolygon(QPainter *, const QPolygonF &amp;)</div><div class="ttdoc">Wrapper for QPainter::drawPolygon()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__painter_8cpp_source.html#l00561">qwt_painter.cpp:561</a></div></div>
<div class="ttc" id="aclass_qwt_painter_html_a9861338f5900c731fa66423aa6f29b88"><div class="ttname"><a href="class_qwt_painter.html#a9861338f5900c731fa66423aa6f29b88">QwtPainter::effectivePenWidth</a></div><div class="ttdeci">static qreal effectivePenWidth(const QPen &amp;)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__painter_8h_source.html#l00201">qwt_painter.h:201</a></div></div>
<div class="ttc" id="aclass_qwt_painter_html_ab77bb84f93f6b422b0b9c106a3991fdc"><div class="ttname"><a href="class_qwt_painter.html#ab77bb84f93f6b422b0b9c106a3991fdc">QwtPainter::drawRect</a></div><div class="ttdeci">static void drawRect(QPainter *, qreal x, qreal y, qreal w, qreal h)</div><div class="ttdoc">Wrapper for QPainter::drawRect()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__painter_8cpp_source.html#l00347">qwt_painter.cpp:347</a></div></div>
<div class="ttc" id="aclass_qwt_painter_html_ae9af230df7bb8d40b802d4f3205a8631"><div class="ttname"><a href="class_qwt_painter.html#ae9af230df7bb8d40b802d4f3205a8631">QwtPainter::roundingAlignment</a></div><div class="ttdeci">static bool roundingAlignment()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__painter_8h_source.html#l00183">qwt_painter.h:183</a></div></div>
<div class="ttc" id="aclass_qwt_painter_html_af7da8f2bd3bda731e76b564ba44ea6e7"><div class="ttname"><a href="class_qwt_painter.html#af7da8f2bd3bda731e76b564ba44ea6e7">QwtPainter::drawLine</a></div><div class="ttdeci">static void drawLine(QPainter *, qreal x1, qreal y1, qreal x2, qreal y2)</div><div class="ttdoc">Wrapper for QPainter::drawLine()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__painter_8h_source.html#l00154">qwt_painter.h:154</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><b>qwt_interval_symbol.cpp</b></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
